package com.yeyuanqi.hottop.service;

import com.yeyuanqi.hottop.entity.TWeibohot;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yeyuanqi.hottop.vo.HotListVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yeyuanqi
 * @since 2021-12-22
 */
public interface TWeibohotService extends IService<TWeibohot> {
    //查询最新的热搜
    public List<HotListVO> selectNewHot();

    //根据日期或者时间查询热搜
    public List<HotListVO> selectHotByTime(String day, String min);
}
